{% extends "seller/base.html" %}
{% load static %}

{% block content %}
        <fieldset class="layui-elem-field">
            <legend>数据统计</legend>
            <div class="layui-field-box">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <div class="layui-carousel x-admin-carousel x-admin-backlog" lay-anim="" lay-indicator="inside" lay-arrow="none" style="width: 100%; height: 90px;">
                                <div carousel-item="">
                                    <ul class="layui-row layui-col-space10 layui-this">
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="text-align: center">订单数</h2>
                                                <p style="margin: 20px ; text-align: center">
                                                    <!-- 1.须传入订单表中订单的个数 -->
                                                    <cite>{{ order_num }}</cite>
                                                </p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="text-align: center">会员数</h2>
                                                <p style="margin: 20px; text-align: center">
                                                    <!-- 2.须传入买家注册表表中注册个数 -->
                                                    <cite>{{ member_num }}</cite>
                                                </p>
                                            </a>
                                        </li>
                                        <li class="layui-col-xs2">
                                            <a href="javascript:;" class="x-admin-backlog-body">
                                                <h2 style="text-align: center">商品数</h2>
                                                <p style="margin: 20px; text-align: center">
                                                    <!-- 3.须传入卖家商品表中商品的个数 -->
                                                    <cite>{{ user_googs_num }}</cite>
                                                </p>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field">
            <legend>系统信息</legend>
            <div class="layui-field-box">
                <table class="layui-table">
                    <tbody>
                        <tr>
                            <th>全球生鲜店铺版本</th>
                            <td>1.0.180420</td></tr>
                        <tr>
                            <th>服务器地址</th>
                            <td>127.0.0.1</td></tr>
                        <tr>
                            <th>操作系统</th>
                            <td>window10</td></tr>
                            <th>django版本</th>
                            <td>2.1.2</td></tr>
                    </tbody>
                </table>
            </div>
        </fieldset>
{% endblock %}